import fly from"../utils/request.js"
export const getTab=()=>{
   return fly.get('/user/channels')
    }

//获取新闻列表
export const getList=(id,time)=>{
   return fly.get(`/articles?channel_id=${id}&with_top=1&timestamp=${time}`)
    }